package com.yxq.mdt.app.modules.personal.presenter;

import com.yxq.mdt.app.base.ibase.IBaseContract;
import com.yxq.mdt.app.modules.personal.bean.AddressBean;
import com.yxq.mdt.app.modules.personal.bean.AddressListBean;

import java.util.List;


public interface IAddressContract extends IBaseContract {

    interface View extends IBaseView {

        void onLoadSuccess(List<AddressBean> addressBeanList);

        void onLoadFailed(String msg);

        void onLoadListSuccess(AddressListBean addressListBean);

        void onLoadListFailed(String msg);

        void onSaveSuccess(AddressListBean.ListBean result);

        void onSaveFailed(String msg);

        void onDeleteSuccess(int position, String result);

        void onDeleteFailed(String msg);

        void onSetDefaultSuccess(String result);

        void onSetDefaultFailed(String msg);
    }


    interface Presenter extends IBasePresenter {
        void district();
    }
}
